package com.console.operations.loanmgr;

import com.common.test.OperationBase;
import com.common.test.UITestBase;
import com.console.pages.LinkPage;

	/**
	@author 王嘉犇
	@name 钜宝盆后台点击借款批量发布链接
	@type 动作类
	 */

public class ClickLoanBatchLink extends OperationBase {

	public ClickLoanBatchLink(UITestBase tb){
		super(tb);
	}
	
	public void clickLink() throws Exception{
		switchToDefaultContent();
		LinkPage lp = new LinkPage(tb);
		waitForElementDisplayed(lp.loanManageLnk);
		lp.loanManageLnk.click();
		waitForElementExist(lp.loanBatchLnk);
		waitForElementDisplayed(lp.loanBatchLnk);
		lp.loanBatchLnk.click();
		pause(700);
		lp.loanBatchLnk.click();
	}
}
